package com.pattern.bean;

/**
 * @Description
 * @Author Ping
 * @Date 2022/2/28 11:28
 **/
public class Customer {
    private String cId ;
    private String name ;
    private Membership member ;
    private Address address ;

    public Customer(String cId, String name) {
        this.cId = cId;
        this.name = name;

    }

    public MemberLevel getMemberLevel() {
        return member.getLevel() ;
    }
    public String getAddress() {
        return this.address.getAddress() ;
    }
}
